home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Subject: Re: U MUST READ THIS!!!!!
- From: mbutler@visualradio.com (Butler)
- X-Newsreader: WinVN 0.99.7
- References: <4epbn1$4hq@ixnews7.ix.netcom.com>
- MIME-Version: 1.0
- Content-Type: Text/Plain; charset=US-ASCII
- NNTP-Posting-Host: 204.252.42.69
- Message-ID: <311e8049.0@vinny.visualradio.com>
- Date: 11 Feb 96 23:48:25 GMT
- Path: vinny.visualradio.com!
-
- In article <4epbn1$4hq@ixnews7.ix.netcom.com>, jeremyx@ix.netcom.co says...
- > Everyone keeps telling me not to use the "goto"
- >statement,they act like it's the plague! What is wrong with the goto
- >statement & what can i use in it's place?
-
- The problem w/the goto statement is that it makes for "spaghetti code".
- In plain english it makes your programs harder to read, debug,
- understand, etc...
-
- In it's place use the loops that are available in C/C++. Most anything
- you can do with goto, can be constructed w/a carefully coded, for,
- while, if, etc...
-
- So now both of your questions have been answered. You should be able
- to print '\' and your programs should be more readable. Now do us all
- a favor and help keep this newsgroup readable, by not putting titles on
- your posts, like "YOU MUST READ THIS" and "IMPORTANT" as though they
- were items of general interest. People will usually answer your
- questions if you just show a little common courtesy.
- --
- Butler
- mailto:mbutler@visualradio.com
-
-